<template>
  <div class="frame-index">
    <nuxt-link class="button button--green" to="/">返回nuxt首页</nuxt-link>
    
  </div>
</template>

<script>
export default {
  methods: {
    init(to, from) {
      
    }
  },
  beforeRouteEnter(to, from, next) {
    next(vm => vm.init(to, from))
  }
}
</script>

<style lang="scss">
  .frame-index {
    
  }
</style>